home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / lib / gdbm171.zoo / info / gdbm.info
Encoding:
GNU Info File  |  1994-02-14  |  23.4 KB  |  698 lines

  1. This is Info file gdbm.info, produced by Makeinfo-1.49 from the input
  2. file ./gdbm.texinfo.
  3.  
  4.    This file documents the GNU dbm utility.
  5.  
  6.    Copyright (C) 1989-1993 Free Software Foundation, Inc.
  7.  
  8.    Permission is granted to make and distribute verbatim copies of this
  9. manual provided the copyright notice and this permission notice are
  10. preserved on all copies.
  11.  
  12.    Permission is granted to copy and distribute modified versions of
  13. this manual under the conditions for verbatim copying, provided also
  14. that the entire resulting derived work is distributed under the terms
  15. of a permission notice identical to this one.
  16.  
  17.    Permission is granted to copy and distribute translations of this
  18. manual into another language, under the above conditions for modified
  19. versions.
  20.  
  21. File: gdbm.info,  Node: Top,  Next: Copying,  Prev: (dir),  Up: (dir)
  22.  
  23.    GNU `dbm' is a library of functions implementing a hashed database
  24. on a disk file.  This manual documents GNU `dbm' Version 1.7.1
  25. (`gdbm').  The software was written by Philip A. Nelson. This document
  26. was originally written by Pierre Gaumond from texts written by Phil.
  27.  
  28. * Menu:
  29.  
  30. Introduction:
  31.  
  32. * Copying::                    Your rights.
  33. * Intro::                      Introduction to GNU dbm.
  34. * List::                       List of functions.
  35.  
  36. Functions:
  37.  
  38. * Open::                       Opening the database.
  39. * Close::                      Closing the database.
  40. * Store::                      Inserting and replacing records in the database.
  41. * Fetch::                      Searching records in the database.
  42. * Delete::                     Removing records from the database.
  43. * Sequential::                 Sequential access to records.
  44. * Reorganization::             Database reorganization.
  45. * Sync::                       Insure all writes to disk have competed.
  46. * Errors::                     Convert internal error codes into English.
  47. * Options::                    Setting internal options.
  48.  
  49. Other topics:
  50.  
  51. * Variables::                  Two useful variables.
  52. * Compatibility::              Compatibility with UNIX dbm and ndbm.
  53. * Conversion::                 Converting dbm files to gdbm format.
  54. * Bugs::                       Problems and bugs.
  55.  
  56. File: gdbm.info,  Node: Copying,  Next: Intro,  Prev: Top,  Up: Top
  57.  
  58. Copying Conditions.
  59. *******************
  60.  
  61.    This library is "free"; this means that everyone is free to use it
  62. and free to redistribute it on a free basis.  GNU `dbm' (`gdbm') is not
  63. in the public domain; it is copyrighted and there are restrictions on
  64. its distribution, but these restrictions are designed to permit
  65. everything that a good cooperating citizen would want to do.  What is
  66. not allowed is to try to prevent others from further sharing any
  67. version of `gdbm' that they might get from you.
  68.  
  69.    Specifically, we want to make sure that you have the right to give
  70. away copies `gdbm', that you receive source code or else can get it if
  71. you want it, that you can change these functions or use pieces of them
  72. in new free programs, and that you know you can do these things.
  73.  
  74.    To make sure that everyone has such rights, we have to forbid you to
  75. deprive anyone else of these rights.  For example, if you distribute
  76. copies `gdbm', you must give the recipients all the rights that you
  77. have.  You must make sure that they, too, receive or can get the source
  78. code.  And you must tell them their rights.
  79.  
  80.    Also, for our own protection, we must make certain that everyone
  81. finds out that there is no warranty for anything in the `gdbm'
  82. distribution. If these functions are modified by someone else and
  83. passed on, we want their recipients to know that what they have is not
  84. what we distributed, so that any problems introduced by others will not
  85. reflect on our reputation.
  86.  
  87.    `gdbm' is currently distributed under the terms of the GNU General
  88. Public License, Version 2.  (*NOT* under the GNU General Library Public
  89. License.)  A copy the GNU General Public License is included with the
  90. distribution of `gdbm'.
  91.  
  92. File: gdbm.info,  Node: Intro,  Next: List,  Prev: Copying,  Up: Top
  93.  
  94. Introduction to GNU `dbm'.
  95. **************************
  96.  
  97.    GNU `dbm' (`gdbm')is a library of database functions that use
  98. extendible hashing and works similar to the standard UNIX `dbm'
  99. functions.  These routines are provided to a programmer needing to
  100. create and manipulate a hashed database. (`gdbm' is *NOT* a complete
  101. database package for an end user.)
  102.  
  103.    The basic use of `gdbm' is to store key/data pairs in a data file.
  104. Each key must be unique and each key is paired with only one data item.
  105. The keys can not be directly accessed in sorted order.  The basic unit
  106. of data in `gdbm' is the structure:
  107.  
  108.        typedef struct {
  109.                   char *dptr;
  110.                   int  dsize;
  111.                } datum;
  112.  
  113.    This structure allows for arbitrary sized keys and data items.
  114.  
  115.    The key/data pairs are stored in a `gdbm' disk file, called a `gdbm'
  116. database.  An application must open a `gdbm' database to be able
  117. manipulate the keys and data contained in the database. `gdbm' allows
  118. an application to have multiple databases open at the same time.  When
  119. an application opens a `gdbm' database, it is designated as a `reader'
  120. or a `writer'.  A `gdbm' database opened by at most one writer at a
  121. time.  However, many readers may open the database open simultaneously.
  122.  Readers and writers can not open the `gdbm' database at the same time.
  123.  
  124. File: gdbm.info,  Node: List,  Next: Open,  Prev: Intro,  Up: Top
  125.  
  126. List of functions.
  127. ******************
  128.  
  129.    The following is a quick list of the functions contained in the
  130. `gdbm' library. The include file `gdbm.h', that can be included by the
  131. user, contains a definition of these functions.
  132.  
  133.      #include <gdbm.h>
  134.      
  135.      GDBM_FILE gdbm_open(name, block_size, flags, mode, fatal_func);
  136.      void gdbm_close(dbf);
  137.      int gdbm_store(dbf, key, content, flag);
  138.      datum gdbm_fetch(dbf, key);
  139.      int gdbm_delete(dbf, key);
  140.      datum gdbm_firstkey(dbf);
  141.      datum gdbm_nextkey(dbf, key);
  142.      int gdbm_reorganize(dbf);
  143.      void gdbm_sync(dbf);
  144.      int gdbm_exists(dbf, key);
  145.      char *gdbm_strerror(errno);
  146.      int gdbm_setopt(dbf, option, value, size)
  147.  
  148.    The `gdbm.h' include file is often in the `/usr/local/gnu/include'
  149. directory. (The actual location of `gdbm.h' depends on your local
  150. installation of `gdbm'.)
  151.  
  152. File: gdbm.info,  Node: Open,  Next: Close,  Prev: List,  Up: Top
  153.  
  154. Opening the database.
  155. *********************
  156.  
  157.    Initialize `gdbm' system. If the file has a size of zero bytes, a
  158. file initialization procedure is performed, setting up the initial
  159. structure in the file.
  160.  
  161.    The procedure for opening a `gdbm' file is:
  162.  
  163.      GDBM_FILE dbf;
  164.      
  165.      dbf = gdbm_open(name, block_size, flags, mode, fatal_func);
  166.  
  167.    The parameters are:
  168.  
  169. char *name
  170.      The name of the file (the complete name, `gdbm' does not append any
  171.      characters to this name).
  172.  
  173. int block_size
  174.      It is used during initialization to determine the size of various
  175.      constructs. It is the size of a single transfer from disk to
  176.      memory. This parameter is ignored if the file has been previously
  177.      initialized. The minimum size is 512. If the value is less than
  178.      512, the file system blocksize is used, otherwise the value of
  179.      `block_size' is used.
  180.  
  181. int flags
  182.      If `flags' is set to GDBM_READER, the user wants to just read the
  183.      database and any call to `gdbm_store' or `gdbm_delete' will fail.
  184.      Many readers can access the database at the same time. If `flags'
  185.      is set to GDBM_WRITER, the user wants both read and write access
  186.      to the database and requires exclusive access. If `flags' is set
  187.      to GDBM_WRCREAT, the user wants both read and write access to the
  188.      database and if the database does not exist, create a new one. If
  189.      `flags' is set to GDBM_NEWDB, the user want a new database
  190.      created, regardless of whether one existed, and wants read and
  191.      write access to the new database.  For all writers (GDBM_WRITER,
  192.      GDBM_WRCREAT and GDBM_NEWDB) the value GDBM_FAST can be added to
  193.      the `flags' field using logical or.  This option causes `gdbm' to
  194.      write the database without any disk file synchronization.  This
  195.      allows faster writes, but may produce an inconsistent database in
  196.      the event of abnormal termination of the writer. Any error
  197.      detected will cause a return value of NULL and an appropriate
  198.      value will be in `gdbm_errno' (see Variables). If no errors occur,
  199.      a pointer to the `gdbm' file descriptor will be returned.
  200.  
  201. int mode
  202.      File mode (see chmod(2) and open(2) if the file is created).
  203.  
  204. void (*fatal_func) ()
  205.      A function for `gdbm' to call if it detects a fatal error. The only
  206.      parameter of this function is a string. If the value of NULL is
  207.      provided, `gdbm' will use a default function.
  208.  
  209.    The return value, `dbf', is the pointer needed by all other
  210. functions to access that `gdbm' file. If the return is the NULL pointer,
  211. `gdbm_open' was not successful. The errors can be found in `gdbm_errno'
  212. for `gdbm' errors and in `errno' for file system errors (for error
  213. codes, see `gdbm.h').
  214.  
  215.    In all of the following calls, the parameter `dbf' refers to the
  216. pointer returned from `gdbm_open'.
  217.  
  218. File: gdbm.info,  Node: Close,  Next: Store,  Prev: Open,  Up: Top
  219.  
  220. Closing the database.
  221. *********************
  222.  
  223.    It is important that every file opened is also closed. This is
  224. needed to update the reader/writer count on the file. This is done by:
  225.  
  226.      gdbm_close(dbf);
  227.  
  228.    The parameter is:
  229.  
  230. GDBM_FILE dbf
  231.      The pointer returned by `gdbm_open'.
  232.  
  233.    Closes the `gdbm' file and frees all memory associated with the file
  234. `dbf'.
  235.  
  236. File: gdbm.info,  Node: Store,  Next: Fetch,  Prev: Close,  Up: Top
  237.  
  238. Inserting and replacing records in the database.
  239. ************************************************
  240.  
  241.    The function `gdbm_store' inserts or replaces records in the
  242. database.
  243.  
  244.      ret = gdbm_store(dbf, key, content, flag);
  245.  
  246.    The parameters are:
  247.  
  248. GDBM_FILE dbf
  249.      The pointer returned by `gdbm_open'.
  250.  
  251. datum key
  252.      The `key' data.
  253.  
  254. datum content
  255.      The data to be associated with the key.
  256.  
  257. int flag
  258.      Defines the action to take when the key is already in the
  259.      database. The value GDBM_REPLACE (defined in `gdbm.h') asks that
  260.      the old data be replaced by the new `content'. The value
  261.      GDBM_INSERT asks that an error be returned and no action taken if
  262.      the `key' already exists.
  263.  
  264.    The values returned in `ret' are:
  265.  
  266. -1
  267.      The item was not stored in the database because the caller was not
  268.      an official writer or either `key' or `content' have a NULL dptr
  269.      field. Both `key' and `content' must have the dptr field be a
  270.      non-NULL value. Since a NULL dptr field is used by other functions
  271.      to indicate an error, a NULL field cannot be valid data.
  272.  
  273. +1
  274.      The item was not stored because the argument `flag' was
  275.      GDBM_INSERT and the `key' was already in the database.
  276.  
  277. 0
  278.      No error. `content' is keyed by `key'. The file on disk is updated
  279.      to reflect the structure of the new database before returning from
  280.      this function.
  281.  
  282.    If you store data for a `key' that is already in the data base,
  283. `gdbm' replaces the old data with the new data if called with
  284. GDBM_REPLACE. You do not get two data items for the same `key' and you
  285. do not get an error from `gdbm_store'.
  286.  
  287.    The size in `gdbm' is not restricted like `dbm' or `ndbm'. Your data
  288. can be as large as you want.
  289.  
  290. File: gdbm.info,  Node: Fetch,  Next: Delete,  Prev: Store,  Up: Top
  291.  
  292. Searching for records in the database.
  293. **************************************
  294.  
  295.    Looks up a given `key' and returns the information associated with
  296. that key. The pointer in the structure that is  returned is a pointer
  297. to dynamically allocated memory block. To search for some data:
  298.  
  299.      content = gdbm_fetch(dbf, key);
  300.  
  301.    The parameters are:
  302.  
  303. GDBM_FILE dbf
  304.      The pointer returned by `gdbm_open'.
  305.  
  306. datum key
  307.      The `key' data.
  308.  
  309.    The datum returned in `content' is a pointer to the data found. If
  310. the dptr is NULL, no data was found. If dptr is not NULL, then it points
  311. to data allocated by malloc. `gdbm' does not automatically free this
  312. data. The user must free this storage when done using it. This
  313. eliminates the need to copy the result to save it for later use (you
  314. just save the pointer).
  315.  
  316.    You may also search for a particular key without retrieving it,
  317. using:
  318.  
  319.      ret = gdbm_exists(dbf, key);
  320.  
  321.    The parameters are:
  322.  
  323. GDBM_FILE dbf
  324.      The pointer returned by `gdbm_open'.
  325.  
  326. datum key
  327.      The `key' data.
  328.  
  329.    Unlike `gdbm_fetch', this routine does not allocate any memory, and
  330. simply returns true or false, depending on whether the `key' exists, or
  331. not.
  332.  
  333. File: gdbm.info,  Node: Delete,  Next: Sequential,  Prev: Fetch,  Up: Top
  334.  
  335. Removing records from the database.
  336. ***********************************
  337.  
  338.    To remove some data from the database:
  339.  
  340.      ret = gdbm_delete(dbf, key);
  341.  
  342.    The parameters are:
  343.  
  344. GDBM_FILE dbf
  345.      The pointer returned by `gdbm_open'.
  346.  
  347. datum key
  348.      The `key' data.
  349.  
  350.    The ret value is -1 if the item is not present or the requester is a
  351. reader. The ret value is 0 if there was a successful delete.
  352.  
  353.    `gdbm_delete' removes the keyed item and the `key' from the database
  354. `dbf'. The file on disk is updated to reflect the structure of the new
  355. database before returning from this function.
  356.  
  357. File: gdbm.info,  Node: Sequential,  Next: Reorganization,  Prev: Delete,  Up: Top
  358.  
  359. Sequential access to records.
  360. *****************************
  361.  
  362.    The next two functions allow for accessing all items in the
  363. database. This access is not `key' sequential, but it is guaranteed to
  364. visit every `key' in the database once. The order has to do with the
  365. hash values. `gdbm_firstkey' starts the visit of all keys in the
  366. database. `gdbm_nextkey' finds and reads the next entry in the hash
  367. structure for `dbf'.
  368.  
  369.      key = gdbm_firstkey(dbf);
  370.      
  371.      nextkey = gdbm_nextkey(dbf, key);
  372.  
  373.    The parameters are:
  374.  
  375. GDBM_FILE dbf
  376.      The pointer returned by `gdbm_open'.
  377.  
  378. datum `key'
  379. datum nextkey
  380.      The `key' data.
  381.  
  382.    The return values are both datum. If `key'.dptr or nextkey.dptr is
  383. NULL, there is no first `key' or next `key'. Again notice that dptr
  384. points to data allocated by malloc and `gdbm' will not free it for you.
  385.  
  386.    These functions were intended to visit the database in read-only
  387. algorithms, for instance, to validate the database or similar
  388. operations.
  389.  
  390.    File `visiting' is based on a `hash table'. `gdbm_delete'
  391. re-arranges the hash table to make sure that any collisions in the
  392. table do not leave some item `un-findable'. The original key order is
  393. NOT guaranteed to remain unchanged in ALL instances. It is possible
  394. that some key will not be visited if a loop like the following is
  395. executed:
  396.  
  397.         key = gdbm_firstkey ( dbf );
  398.         while ( key.dptr ) {
  399.            nextkey = gdbm_nextkey ( dbf, key );
  400.            if ( some condition ) {
  401.               gdbm_delete ( dbf, key );
  402.               free ( key.dptr );
  403.            }
  404.            key = nextkey;
  405.         }
  406.  
  407. File: gdbm.info,  Node: Reorganization,  Next: Sync,  Prev: Sequential,  Up: Top
  408.  
  409. Database reorganization.
  410. ************************
  411.  
  412.    The following function should be used very seldom.
  413.  
  414.      ret = gdbm_reorganize(dbf);
  415.  
  416.    The parameter is:
  417.  
  418. GDBM_FILE dbf
  419.      The pointer returned by `gdbm_open'.
  420.  
  421.    If you have had a lot of deletions and would like to shrink the space
  422. used by the `gdbm' file, this function will reorganize the database.
  423. `gdbm' will not shorten the length of a `gdbm' file (deleted file space
  424. will be reused) except by using this reorganization.
  425.  
  426.    This reorganization requires creating a new file and inserting all
  427. the elements in the old file `dbf' into the new file. The new file is
  428. then renamed to the same name as the old file and `dbf' is updated to
  429. contain all the correct information about the new file. If an error is
  430. detected, the return value is negative. The value zero is returned
  431. after a successful reorganization.
  432.  
  433. File: gdbm.info,  Node: Sync,  Next: Errors,  Prev: Reorganization,  Up: Top
  434.  
  435. Database Synchronization
  436. ************************
  437.  
  438.    If your database was opened with the GDBM_FAST flag, `gdbm' does not
  439. wait for writes to the disk to complete before continuing.  This allows
  440. faster writing of databases at the risk of having a corrupted database
  441. if the application terminates in an abnormal fashion.  The following
  442. function allows the programmer to make sure the disk version of the
  443. database has been completely updated with all changes to the current
  444. time.
  445.  
  446.      gdbm_sync(dbf);
  447.  
  448.    The parameter is:
  449.  
  450. GDBM_FILE dbf
  451.      The pointer returned by `gdbm_open'.
  452.  
  453.    This would usually be called after a complete set of changes have
  454. been made to the database and before some long waiting time.
  455. `gdbm_close' automatically calls the equivalent of `gdbm_sync' so no
  456. call is needed if the database is to be closed immediately after the
  457. set of changes have been made.
  458.  
  459. File: gdbm.info,  Node: Errors,  Next: Options,  Prev: Sync,  Up: Top
  460.  
  461. Error strings.
  462. **************
  463.  
  464.    To convert a `gdbm' error code into English text, use this routine:
  465.  
  466.      ret = gdbm_strerror(errno)
  467.  
  468.    The parameter is:
  469.  
  470. gdbm_error errno
  471.      The `gdbm' error code, usually `gdbm_errno'.
  472.  
  473.    The appropiate phrase for reading by humans is returned.
  474.  
  475. File: gdbm.info,  Node: Options,  Next: Variables,  Prev: Errors,  Up: top
  476.  
  477. Seting options.
  478. ***************
  479.  
  480.    `Gdbm' now supports the ability to set certain options on an already
  481. open database.
  482.  
  483.      ret = gdbm_setopt(dbf, option, value, size)
  484.  
  485.    The parameters are:
  486.  
  487. GDBM_FILE dbf
  488.      The pointer returned by `gdbm_open'.
  489.  
  490. int option
  491.      The option to be set.
  492.  
  493. int *value
  494.      A pointer to the value to which `option' will be set.
  495.  
  496. int size
  497.      The length of the data pointed to by `value'.
  498.  
  499.    The only legal option currently is GDBM_CACHESIZE, which sets the
  500. size of the internal bucket cache.  This option may only be set once on
  501. each GDBM_FILE descriptor, and is set automatically to 100 upon the
  502. first access to the database.
  503.  
  504.    The return value will be -1 upon failure, or 0 upon success.  The
  505. global variable `gdbm_errno' will be set upon failure.
  506.  
  507.    For instance, to set a database to use a cache of 10, after opening
  508. it with `gdbm_open', but prior to accessing it in any way, the following
  509. code could be used:
  510.  
  511.      int value = 10;
  512.      ret = gdbm_setopt(dbf, GDBM_CACHESIZE, &value, sizeof(int));
  513.  
  514. File: gdbm.info,  Node: Variables,  Next: Compatibility,  Prev: Options,  Up: Top
  515.  
  516. Two useful variables.
  517. *********************
  518.  
  519.    The following two variables are variables that may need to be used:
  520.  
  521. gdbm_error gdbm_errno
  522.      The variable that contains more information about `gdbm' errors
  523.      (`gdbm.h' has the definitions of the error values).
  524.  
  525. char * gdbm_version
  526.      The string containing the version information.
  527.  
  528. File: gdbm.info,  Node: Compatibility,  Next: Conversion,  Prev: Variables,  Up: Top
  529.  
  530. Compatibility with standard `dbm' and `ndbm'.
  531. *********************************************
  532.  
  533.    GNU `dbm' files are not `sparse'. You can copy them with the UNIX
  534. `cp' command and they will not expand in the copying process.
  535.  
  536.    There is a compatibility mode for use with programs that already use
  537. UNIX `dbm' and UNIX `ndbm'.
  538.  
  539.    GNU `dbm' has compatibility functions for `dbm'. For `dbm'
  540. compatibility functions, you need the include file `dbm.h'.
  541.  
  542.    In this compatibility mode, no `gdbm' file pointer is required by
  543. the user, and Only one file may be opened at a time. All users in
  544. compatibility mode are assumed to be writers. If the `gdbm' file is a
  545. read only, it will fail as a writer, but will also try to open it as a
  546. reader. All returned pointers in datum structures point to data that
  547. `gdbm' WILL free. They should be treated as static pointers (as
  548. standard UNIX `dbm' does). The compatibility function names are the
  549. same as the UNIX `dbm' function names. Their definitions follow:
  550.  
  551.      int dbminit(name);
  552.      int store(key, content);
  553.      datum fetch(key);
  554.      int delete(key);
  555.      datum firstkey();
  556.      datum nextkey(key);
  557.      int dbmclose();
  558.  
  559.    Standard UNIX `dbm' and GNU `dbm' do not have the same data format
  560. in the file. You cannot access a standard UNIX `dbm' file with GNU
  561. `dbm'!  If you want to use an old database with GNU `dbm', you must use
  562. the `conv2gdbm' program.
  563.  
  564.    Also, GNU `dbm' has compatibility functions for `ndbm'. For `ndbm'
  565. compatibility functions, you need the include file `ndbm.h'.
  566.  
  567.    Again, just like `ndbm', any returned datum can be assumed to be
  568. static storage. You do not have to free that memory, the `ndbm'
  569. compatibility functions will do it for you.
  570.  
  571.    The functions are:
  572.  
  573.      DBM *dbm_open(name, flags, mode);
  574.      void dbm_close(file);
  575.      datum dbm_fetch(file, key);
  576.      int dbm_store(file, key, `content', flags);
  577.      int dbm_delete(file, key);
  578.      datum dbm_firstkey(file);
  579.      datum dbm_nextkey(file);
  580.      int dbm_error(file);
  581.      int dbm_clearerr(file);
  582.      int dbm_dirfno(file);
  583.      int dbm_pagfno(file);
  584.      int dbm_rdonly(file);
  585.  
  586.    If you want to compile an old C program that used UNIX `dbm' or
  587. `ndbm' and want to use `gdbm' files, execute the following `cc' command:
  588.  
  589.      cc ... -L /usr/local/lib -lgdbm
  590.  
  591. File: gdbm.info,  Node: Conversion,  Next: Bugs,  Prev: Compatibility,  Up: Top
  592.  
  593. Converting `dbm' files to `gdbm' format.
  594. ****************************************
  595.  
  596.    The program `conv2gdbm' has been provided to help you convert from
  597. `dbm' databases to `gdbm'. The usage is:
  598.  
  599.      conv2gdbm [-q] [-b block_size] dbm_file [gdbm_file]
  600.  
  601.    The options are:
  602.  
  603. -q
  604.      Causes `conv2gdbm' to work quietly.
  605.  
  606. block_size
  607.      Is the same as in `gdbm_open'.
  608.  
  609. dbm_file
  610.      Is the name of the `dbm' file without the `.pag' or `.dir'
  611.      extensions.
  612.  
  613. gdbm_file
  614.      Is the complete file name. If not included, the `gdbm' file name
  615.      is the same as the `dbm' file name without any extensions. That is
  616.      `conv2gdbm' `dbmfile' converts the files `dbmfile.pag' and
  617.      `dbmfile.dir' into a `gdbm' file called `dbmfile'.
  618.  
  619. File: gdbm.info,  Node: Bugs,  Prev: Conversion,  Up: Top
  620.  
  621. Problems and bugs.
  622. ******************
  623.  
  624.    If you have problems with GNU `dbm' or think you've found a bug,
  625. please report it. Before reporting a bug, make sure you've actually
  626. found a real bug. Carefully reread the documentation and see if it
  627. really says you can do what you're trying to do. If it's not clear
  628. whether you should be able to do something or not, report that too; it's
  629. a bug in the documentation!
  630.  
  631.    Before reporting a bug or trying to fix it yourself, try to isolate
  632. it to the smallest possible input file that reproduces the problem. Then
  633. send us the input file and the exact results `gdbm' gave you. Also say
  634. what you expected to occur; this will help us decide whether the
  635. problem was really in the documentation.
  636.  
  637.    Once you've got a precise problem, send e-mail to:
  638.  
  639.      Internet: `bug-gnu-utils@prep.ai.mit.edu'.
  640.      UUCP: `mit-eddie!prep.ai.mit.edu!bug-gnu-utils'.
  641.  
  642.    Please include the version number of GNU `dbm' you are using. You
  643. can get this information by printing the variable `gdbm_version' (see
  644. Variables).
  645.  
  646.    Non-bug suggestions are always welcome as well. If you have questions
  647. about things that are unclear in the documentation or are just obscure
  648. features, please report them too.
  649.  
  650.    You may contact the author by:
  651.          e-mail:  phil@cs.wwu.edu
  652.         us-mail:  Philip A. Nelson
  653.                   Computer Science Department
  654.                   Western Washington University
  655.                   Bellingham, WA 98226
  656.  
  657.  
  658. Tag Table:
  659. Node: Top768
  660. Node: Copying2198
  661. Node: Intro3979
  662. Node: List5395
  663. Node: Open6324
  664. Node: Close9215
  665. Node: Store9650
  666. Node: Fetch11443
  667. Node: Delete12691
  668. Node: Sequential13356
  669. Node: Reorganization15036
  670. Node: Sync15991
  671. Node: Errors16951
  672. Node: Options17311
  673. Node: Variables18430
  674. Node: Compatibility18854
  675. Node: Conversion21227
  676. Node: Bugs22041
  677. End Tag Table
  678.